set terminal png nocrop enhanced size 750,400
#font arial 8 size 500,350 
#set terminal png
set output '04_histograma_exemplo.png'
set bar 1.000000
set boxwidth 1 absolute
set style fill  solid 1.00 border -1
set style rectangle back fc lt -3 fillstyle  solid 1.00 border -1
#set key inside right top vertical Right noreverse enhanced autotitles columnhead nobox
set grid layerdefault   linetype 0 linewidth 1.000,  linetype 0 linewidth 1.000
set style histogram clustered gap 0 title  offset character 0, 0, 0
set datafile missing '-'
set style data histograms
set xtics border in scale 0.5,0.5 rotate by -45 nomirror font "Helvetica,8" offset character 2, 0, 0 
set xtics  norangelimit
set ylabel  offset character 0, 0, 0 font "Helvetica,14" textcolor lt -1 rotate by 90
set xlabel font "Helvetica,14" rotate by 0 
set y2label  offset character 0, 0, 0 font "Helvetica,20" textcolor lt -1 rotate by 90
set xrange [ 0.0: *]
set yrange [ 0.00000 : 6.0 ] noreverse nowriteback
set cblabel  offset character 0, 0, 0 font "" textcolor lt -1 rotate by 90
set ylabel "Frequência"
set xlabel "Intervalos" offset character 0, 3, 0
#plot 'grafico.dat' using 6:xtic(1) ti col, '' u 12 ti col, '' u 13 ti col, '' u 14 ti col
plot 'histograma_exemplo.dat' using 2:xtic(1) lt rgb "light-grey" ti "Nº Leituras"

